package com.hbx.residential_service.service;

import com.hbx.residential_service.domain.Pay;

import java.util.List;

public interface PayService {
    List<Pay> findAll(int page, int size);

    void addPay(Pay pay);

    void deletePay(int payId);

    Pay findUpdPayById(int payId);

    void UpdateById(Pay pay);

    List<Pay> fsByUsername(String content, int page, int size);

    List<Pay> findByUnpaid(int page, int size);
}
